package org.jsola.contract.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import java.util.List;
import java.util.Map;

/**
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【模板预览】的参数")
@Data
public class TemplatePreviewDTO extends BaseDTO {

    private static final long serialVersionUID = -6728461249534464701L;

    @ApiModelProperty(notes = "文件名", example = "xxx")
    private String fileName;

    @ApiModelProperty(notes = "文件内容", example = "xxx")
    private String content;

    @ApiModelProperty(notes = "是否替换a标签", example = "xxx")
    private Boolean replace;

    @ApiModelProperty(notes = "变量填写列表")
    private List<Map<String, Object>> variableList;

}
